package cc.rengu.redp.flowable.bizmodel.web.service.impl;

import cc.rengu.redp.flowable.bizmodel.db.dao.BizCfgAlgMapper;
import cc.rengu.redp.flowable.bizmodel.db.domain.BizAllCfg;
import cc.rengu.redp.flowable.bizmodel.db.domain.BizCfgAlg;
import cc.rengu.redp.flowable.bizmodel.web.service.BizCfgAlgService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author System
 */
@Service
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true, rollbackFor = Exception.class)
public class BizCfgAlgServiceImpl extends ServiceImpl<BizCfgAlgMapper, BizCfgAlg> implements BizCfgAlgService {

    @Override
    public List<BizAllCfg> findAllBizCfgByProcId(String procDefId, String nodeId) {
        return this.baseMapper.findAllBizCfgByProcId(procDefId, nodeId);
    }
}
